package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 呆滞时间设置
 * </p>
 *
 * @author Max
 * @since 2020-03-09
 */
public class InactiveTime extends Model<InactiveTime> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
    /**
     * 站点
     */
   @TableField("SITE")
   private String site;
   /**
    * 设备简码
    */
   @TableField("SHORT_CODE")
   private String shortCode;
   /**
     * 设备编号
     */
   @TableField("RESRCE")
   private String resrce;
    /**
     * 设备描述
     */
   @TableField("RESRCE_DESC")
   private String resrceDesc;
    /**
     * 物料
     */
   @TableField("ITEM")
   private String item;
    /**
     * 物料描述
     */
   @TableField("ITEM_DESC")
   private String itemDesc;
    /**
     * 罐子用途
     */
   @TableField("TANK_BY_USE")
   private String tankByUse;
    /**
     * 上限
     */
   @TableField("UPPER_LIMIT")
   private Integer upperLimit;
    /**
     * 下限
     */
   @TableField("LOWER_LIMIT")
   private Integer lowerLimit;
    /**
     * 提醒类型
     */
   @TableField("REMIND_TYPE")
   private String remindType;
    /**
     * 提醒用户组
     */
   @TableField("REMIND_USER_GROUP")
   private String remindUserGroup;
    /**
     * 创建人
     */
   @TableField("CREATOR")
   private String creator;
    /**
     * 修改人
     */
   @TableField("UPDATER")
   private String updater;
    /**
     * 创建日期
     */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
    /**
     * 更新日期
     */
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getShortCode() {
      return shortCode;
   }

   public void setShortCode(String shortCode) {
      this.shortCode = shortCode;
   }

   public String getResrce() {
      return resrce;
   }

   public void setResrce(String resrce) {
      this.resrce = resrce;
   }

   public String getResrceDesc() {
      return resrceDesc;
   }

   public void setResrceDesc(String resrceDesc) {
      this.resrceDesc = resrceDesc;
   }

   public String getItem() {
      return item;
   }

   public void setItem(String item) {
      this.item = item;
   }

   public String getItemDesc() {
      return itemDesc;
   }

   public void setItemDesc(String itemDesc) {
      this.itemDesc = itemDesc;
   }

   public String getTankByUse() {
      return tankByUse;
   }

   public void setTankByUse(String tankByUse) {
      this.tankByUse = tankByUse;
   }

   public Integer getUpperLimit() {
      return upperLimit;
   }

   public void setUpperLimit(Integer upperLimit) {
      this.upperLimit = upperLimit;
   }

   public Integer getLowerLimit() {
      return lowerLimit;
   }

   public void setLowerLimit(Integer lowerLimit) {
      this.lowerLimit = lowerLimit;
   }

   public String getRemindType() {
      return remindType;
   }

   public void setRemindType(String remindType) {
      this.remindType = remindType;
   }

   public String getRemindUserGroup() {
      return remindUserGroup;
   }

   public void setRemindUserGroup(String remindUserGroup) {
      this.remindUserGroup = remindUserGroup;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String RESRCE = "RESRCE";

   public static final String RESRCE_DESC = "RESRCE_DESC";

   public static final String ITEM = "ITEM";

   public static final String ITEM_DESC = "ITEM_DESC";

   public static final String TANK_BY_USE = "TANK_BY_USE";

   public static final String UPPER_LIMIT = "UPPER_LIMIT";

   public static final String LOWER_LIMIT = "LOWER_LIMIT";

   public static final String REMIND_TYPE = "REMIND_TYPE";

   public static final String REMIND_USER_GROUP = "REMIND_USER_GROUP";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InactiveTime{" +
         "handle = " + handle +
         ", site = " + site +
         ", resrce = " + resrce +
         ", resrceDesc = " + resrceDesc +
         ", item = " + item +
         ", itemDesc = " + itemDesc +
         ", tankByUse = " + tankByUse +
         ", upperLimit = " + upperLimit +
         ", lowerLimit = " + lowerLimit +
         ", remindType = " + remindType +
         ", remindUserGroup = " + remindUserGroup +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}